package com.lan.iot.entity;

import java.io.Serializable;

public class AirconditionEntity implements Serializable {

    private static final long serialVersionUID = -1399695071515887634L;

    String temp; //温度
    int model; //0 通风 1 自动 2 制冷 3 制热 默认 0
    int windSpeed; // 低 0 中 1 高 2 超强 3
//    long delayTime;
    String deviceID;
    String apiTag;
    int isOpen;
int saofeng;
    public AirconditionEntity() {


    }

    //    public AirconditionEntity(String temp, int model, int windSpeed, long delayTime, String deviceID, String apiTag) {
//        this.temp = temp;
//        this.model = model;
//        this.windSpeed = windSpeed;
//        this.delayTime = delayTime;
//        this.deviceID = deviceID;
//        this.apiTag = apiTag;
//    }
    public AirconditionEntity(String temp, int model, int windSpeed, int isOpen, String deviceID, String apiTag,int saofeng) {
        this.temp = temp;
        this.model = model;
        this.windSpeed = windSpeed;
        this.isOpen = isOpen;
        this.deviceID = deviceID;
        this.apiTag = apiTag;
        this.saofeng=saofeng;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getApiTag() {
        return apiTag;
    }

    public void setApiTag(String apiTag) {
        this.apiTag = apiTag;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public int getModel() {
        return model;
    }

    public void setModel(int model) {
        this.model = model;
    }
    public void setIsOpen(int isOpen) {
        this.isOpen = isOpen;
    }
    public int getsaofeng() {
        return saofeng;
    }

    public void setsaofeng(int saofeng) {
        this.saofeng = saofeng;
    }
    public int getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(int windSpeed) {
        this.windSpeed = windSpeed;
    }
    public long getIsOpen() {
        return isOpen;
    }
//    public long getDelayTime() {
//        return delayTime;
//    }

//    public void setDelayTime(long delayTime) {
//        this.delayTime = delayTime;
//    }
}
